package com.bit.demo.demo1;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/Demo")
@RestController
public class HelloMvcDemo {
    @RequestMapping(value = "/Hello",method = RequestMethod.GET)
    public String Hello() {
        return "Hello Spring MVC !!!";
    }
}
